import { _decorator, Component, director, EPhysics2DDrawFlags, Node, PhysicsSystem2D } from 'cc';
const { ccclass, property } = _decorator;

@ccclass('game')
export class game extends Component {
    
    start() {
        PhysicsSystem2D.instance.enable = true;
        PhysicsSystem2D.instance.debugDrawFlags = EPhysics2DDrawFlags.Shape;
    // EPhysics2DDrawFlags.Pair 
    // EPhysics2DDrawFlags.CenterOfMass 
    // EPhysics2DDrawFlags.Joint 
    // EPhysics2DDrawFlags.Shape;
    }

    update(deltaTime: number) {
        
    }
}


